package com.tfjybj.itoo.teach.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import java.io.Serializable;

/**
 * SemesterModel
 * 学年学期表
 *
 * @author 田成荣 
 * @version 2.0.0
 * @since 2.0.0 2018-11-14 14:41:55
 */
@ApiModel(value = "SemesterModel:学年学期表")
@Data
@NoArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
public class SemesterModel implements Serializable {

    //region 模板逆向生产来自SemesterEntity的属性
	/**
	 * id
	 */
	@ApiModelProperty(value = "semester主键")
	@Column(name = "id")
	private String id;
   	/**
	 * 学年学期名称
	 */
	@ApiModelProperty(value = "学年学期名称",required = true)
	private String name;

	/**
	 * 学年学期code
	 */
	@ApiModelProperty(value = "学年学期code",required = true)
	private String code;

	/**
	 * 是否毕业
	 */
    @ApiModelProperty(value = "是否毕业")
	private Integer isGraduate;

	/**
	 * 是否当前
	 */
    @ApiModelProperty(value = "是否当前")
	private Integer isCurrent;

    //endregion

     /* *****************************以下是非模板生成的内容************************************ */
}
